@import './base.css';

#app {
  height: 100%;
}

/* 样式滚动条轨道 */
::-webkit-scrollbar-track {
  background-color: #f5f5f5;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* 样式滚动条滑块 */
::-webkit-scrollbar-thumb {
  background-color: #b4bbc5;
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
}

::-webkit-scrollbar-track {
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #919191;
}

.topHeaderCard {
  .ant-card-body {
    padding: 0 20px !important;

    .ant-tabs-nav {
      margin: 0 !important;
    }
  }
}

.health-box,
.page {
  .ant-table-thead > tr > th {
    background-color: #f2f3f5;
  }
}

.ant-modal .ant-modal-content {
  padding: 0 !important;
  border-radius: 8px !important;
}

.ant-modal .ant-modal-header {
  padding: 16px 24px !important;
  border-bottom: 1px solid #f0f0f0 !important;
  border-radius: 8px 8px 0 0 !important;
}

.ant-modal .ant-modal-body {
  padding: 24px !important;
}

.ai-modal .ant-modal-body {
  padding: 24px 28px 24px 24px !important;
}

.ant-modal .ant-modal-footer {
  padding: 10px 16px !important;
  border-top: 1px solid #f0f0f0 !important;
}

button:focus {
  outline: none;
}

.input {
  width: 210px !important;
}

.ant-message {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: rgba(0, 0, 0, 0.88);
  font-size: 14px;
  line-height: 1.5714285714285714;
  list-style: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  pointer-events: none;
  z-index: 1010;
}

.ant-message-notice {
  padding: 8px;
  text-align: center;
}

.ant-message-notice .ant-message-notice-content {
  display: inline-block;
  padding: 9px 12px;
  background: #ffffff;
  border-radius: 2px;
  box-shadow:
    0 6px 16px 0 rgba(0, 0, 0, 0.08),
    0 3px 6px -4px rgba(0, 0, 0, 0.12),
    0 9px 28px 8px rgba(0, 0, 0, 0.05);
  pointer-events: all;
}

.ant-message-notice .ant-message-info .anticon,
.ant-message-notice .ant-message-loading .anticon {
  color: #1677ff;
}

.ant-message-notice .ant-message-success .anticon {
  color: #52c41a;
}

.ant-message-notice .ant-message-error .anticon {
  color: #ff4d4f;
}

.ant-message-notice .ant-message-warning .anticon {
  color: #faad14;
}

.ant-message-notice .anticon {
  vertical-align: text-bottom;
  margin-inline-end: 8px;
  font-size: 16px;
}
